package com.mall.user.mapper;

import com.central.log.model.UserOperationLogEntity;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserOperationLogMapper {

    @Insert("insert into user_operation_log(user_name,method,model,log_desc,req_params,rsp_params,type) " +
            "values (#{log.operUserName},#{log.operMethod},#{log.operModul},#{log.operDesc},#{log.operRequParam}," +
            "#{log.operRespParam},#{log.operType})")
    Integer insert(@Param("log")UserOperationLogEntity log);
}
